home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / acpi / suspend.d / 50-irda-stop.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2008-10-14  |  137b  |  9 lines

  1. #!/bin/sh
  2.  
  3. # Stop IRDA if it's running
  4. if [ -f /var/run/irattach.pid ]; then
  5.     /etc/init.d/irda-utils stop
  6.     killall -9 irattach
  7. fi
  8.  
  9.